package com.pay.mapper.auto;

import com.pay.model.auto.OmniAddress;
import com.pay.model.auto.OmniAddressExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * @author fuce
 * @email 87766867@qq.com
 * @date 2019-08-07 13:05:23
 */
public interface OmniAddressMapper {
    long countByExample(OmniAddressExample example);

    int deleteByExample(OmniAddressExample example);

    int deleteByPrimaryKey(String id);

    int insert(OmniAddress record);

    int insertSelective(OmniAddress record);

    List<OmniAddress> selectByExample(OmniAddressExample example);

    OmniAddress selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") OmniAddress record, @Param("example") OmniAddressExample example);

    int updateByExample(@Param("record") OmniAddress record, @Param("example") OmniAddressExample example);

    int updateByPrimaryKeySelective(OmniAddress record);

    int updateByPrimaryKey(OmniAddress record);


    List<OmniAddress> select(OmniAddress omniAddress);

    void updateValueToZero(OmniAddress omniAddress);
}
